<!DOCTYPE html>
<!--解决idea thymeleaf 表达式模板报红波浪线-->
<!--suppress ALL -->
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <!-- 引入公用部分 -->
    <script src="/jquery/jquery.js"></script>
    <link href="/layui/css/layui.css" rel="stylesheet" type="text/css">
    <script src="/layui/layui.js"></script>
    <!-- 样式 -->
    <link th:href="@{/css/service/service.css}" rel="stylesheet" type="text/css"/>
</head>
<body>

<!-- 表格主体 -->
<table class="layui-hide" id="serviceTable" lay-filter="display"></table>
<!-- 模板 -->
<script type="text/html" id="serviceTableToolbar">
    <div class="layui-btn-container">
        <button class="layui-btn layui-btn-sm" lay-event="addData">新增<i class="layui-icon layui-icon-add-1"></i></button>

        <!--
        <input type="text" id="queryBySellerName" name="queryBySellerName" autocomplete="off"
               placeholder="请输入商户名称" class="layui-input layui-btn-sm">
        <button id="queryBySellerNameBtn" class="layui-btn layui-btn-sm" lay-event="query">查询<i class="layui-icon layui-icon-search"></i></button>
        -->
    </div>
</script>
<script type="text/html" id=serviceTableBar>
    <a class="layui-btn layui-btn-primary" lay-event="look">查看个税规则</a>
    <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>

					{{#  if(d.registerId == null){ }}
					<a class="layui-btn layui-btn-xs" lay-event="ruzhu">商户入驻</a>
					{{#  }else if(d.registerStatus != '1' && d.registerStatus != '2'){ }}
					<a class="layui-btn layui-btn-xs" lay-event="queryRuzhu">查询入驻结果</a>
					{{#  }else if(d.registerStatus == '1'){ }}
					{{#  if(d.bankCardNo == null){ }}
					{{#  } }}
					<a class="layui-btn layui-btn-xs" lay-event="queryRegisterInfo">查询信息</a>
					<a class="layui-btn layui-btn-xs" lay-event="updateRegister">修改信息</a>
					{{#  }else if(d.registerStatus == '2'){ }}
					<a class="layui-btn layui-btn-xs" lay-event="ruzhu">重新入驻</a>
					{{#  } }}
</script>

<script type="text/html" id="barDemo">
    <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="delById">删除</a>
</script>

</body>
<!-- js -->
<script th:src="@{/js/service/service.js}"></script>
</html>